#方法一
list1 = [1, '小明', '3', [3, '小组']]
print(list1[0])
print(list1[1])
print(list1[2])
print(list1[3])
print(list1[3][0])
print(list1[3][1])

print('\n')
#方法二
list1 = [1, '小明', '3', [3, '小组']]
for i in list1:
    if isinstance(i, list):
        for x in i:
            print(x)
    else:
        print(i)
